<html>
<head><meta charset="utf-8"><title>finding modifications in between releases · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/finding.20modifications.20in.20between.20releases.html">finding modifications in between releases</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="219518893"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/finding%20modifications%20in%20between%20releases/near/219518893" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/finding.20modifications.20in.20between.20releases.html#219518893">(Dec 10 2020 at 19:06)</a>:</h4>
<p><span class="user-mention" data-user-id="116122">@simulacrum</span> is there a way (either with git or github) to show "all PRs that modified a file between 1.48 and 1.49"?</p>



<a name="219518904"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/finding%20modifications%20in%20between%20releases/near/219518904" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/finding.20modifications.20in.20between.20releases.html#219518904">(Dec 10 2020 at 19:06)</a>:</h4>
<p>uh</p>



<a name="219518909"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/finding%20modifications%20in%20between%20releases/near/219518909" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/finding.20modifications.20in.20between.20releases.html#219518909">(Dec 10 2020 at 19:06)</a>:</h4>
<p>I mean locally not too hard</p>



<a name="219518920"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/finding%20modifications%20in%20between%20releases/near/219518920" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/finding.20modifications.20in.20between.20releases.html#219518920">(Dec 10 2020 at 19:06)</a>:</h4>
<p>let's take it to a separate topic :)</p>



<a name="219518972"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/finding%20modifications%20in%20between%20releases/near/219518972" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Notification Bot <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/finding.20modifications.20in.20between.20releases.html#219518972">(Dec 10 2020 at 19:07)</a>:</h4>
<p>This topic was moved here from <a class="stream-topic" data-stream-id="241545" href="/#narrow/stream/241545-t-release/topic/crater.20triage.201.2E49">#t-release &gt; crater triage 1.49</a> by <span class="user-mention silent" data-user-id="116122">simulacrum</span></p>



<a name="219519000"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/finding%20modifications%20in%20between%20releases/near/219519000" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/finding.20modifications.20in.20between.20releases.html#219519000">(Dec 10 2020 at 19:07)</a>:</h4>
<p>1.49 hasn't released yet, so you'd compare against beta</p>



<a name="219519079"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/finding%20modifications%20in%20between%20releases/near/219519079" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/finding.20modifications.20in.20between.20releases.html#219519079">(Dec 10 2020 at 19:08)</a>:</h4>
<p>something like <code>git log origin/stable..origin/beta -- src/version</code></p>



<a name="219519096"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/finding%20modifications%20in%20between%20releases/near/219519096" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/finding.20modifications.20in.20between.20releases.html#219519096">(Dec 10 2020 at 19:08)</a>:</h4>
<p>nice! that would work, thanks :)</p>



<a name="219519099"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/finding%20modifications%20in%20between%20releases/near/219519099" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/finding.20modifications.20in.20between.20releases.html#219519099">(Dec 10 2020 at 19:08)</a>:</h4>
<p>can add a --author=bors or so</p>



<a name="219519165"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/finding%20modifications%20in%20between%20releases/near/219519165" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/finding.20modifications.20in.20between.20releases.html#219519165">(Dec 10 2020 at 19:09)</a>:</h4>
<div class="codehilite"><pre><span></span><code>$ git log --oneline origin/stable..origin/beta src/librustdoc/doctest*
fa1b15f6279 Preserve the parent module of `DocFragment`s
Author: Joshua Nelson &lt;jyn514@gmail.com&gt;
$
</code></pre></div>
<p><span aria-label="embarrassed" class="emoji emoji-1f633" role="img" title="embarrassed">:embarrassed:</span></p>



<a name="219519303"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/finding%20modifications%20in%20between%20releases/near/219519303" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/finding.20modifications.20in.20between.20releases.html#219519303">(Dec 10 2020 at 19:10)</a>:</h4>
<p>hmm that change is trivial though</p>
<div class="codehilite" data-code-language="Diff"><pre><span></span><code><span class="gh">diff --git a/src/librustdoc/doctest.rs b/src/librustdoc/doctest.rs</span>
<span class="gh">index 7a6c9eabb5f..eb33890fb5f 100644</span>
<span class="gd">--- a/src/librustdoc/doctest.rs</span>
<span class="gi">+++ b/src/librustdoc/doctest.rs</span>
<span class="gu">@@ -927,7 +927,7 @@ fn visit_testable&lt;F: FnOnce(&amp;mut Self)&gt;(</span>
         sp: Span,
         nested: F,
     ) {
<span class="gd">-        let mut attrs = Attributes::from_ast(self.sess.diagnostic(), attrs);</span>
<span class="gi">+        let mut attrs = Attributes::from_ast(self.sess.diagnostic(), attrs, None);</span>
         if let Some(ref cfg) = attrs.cfg {
             if !cfg.matches(&amp;self.sess.parse_sess, Some(&amp;self.sess.features_untracked())) {
                 return;
</code></pre></div>



<a name="219519403"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/finding%20modifications%20in%20between%20releases/near/219519403" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/finding.20modifications.20in.20between.20releases.html#219519403">(Dec 10 2020 at 19:11)</a>:</h4>
<p>it might well not be in that file(s), could be something in e.g. attribute parsing even</p>



<a name="219519448"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/finding%20modifications%20in%20between%20releases/near/219519448" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/finding.20modifications.20in.20between.20releases.html#219519448">(Dec 10 2020 at 19:11)</a>:</h4>
<p>... oh this is probably the very same commit even</p>



<a name="219519500"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/finding%20modifications%20in%20between%20releases/near/219519500" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/finding.20modifications.20in.20between.20releases.html#219519500">(Dec 10 2020 at 19:12)</a>:</h4>
<p>this changed all the attribute parsing around:</p>
<div class="codehilite"><pre><span></span><code>commit fa1b15f6279a95923b8a19046f45f27f243d49d2
Author: Joshua Nelson &lt;jyn514@gmail.com&gt;
Date:   Sat Oct 3 20:06:30 2020 -0400

    Preserve the parent module of `DocFragment`s
</code></pre></div>



<a name="219539677"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/finding%20modifications%20in%20between%20releases/near/219539677" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cuviper <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/finding.20modifications.20in.20between.20releases.html#219539677">(Dec 10 2020 at 21:59)</a>:</h4>
<p>in GitHub, the comparison URL is <a href="https://github.com/rust-lang/rust/compare/stable...beta">https://github.com/rust-lang/rust/compare/stable...beta</a></p>



<a name="219539695"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/finding%20modifications%20in%20between%20releases/near/219539695" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cuviper <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/finding.20modifications.20in.20between.20releases.html#219539695">(Dec 10 2020 at 21:59)</a>:</h4>
<p>which is too big -- <span aria-label="unicorn" class="emoji emoji-1f984" role="img" title="unicorn">:unicorn:</span></p>



<a name="219539769"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/finding%20modifications%20in%20between%20releases/near/219539769" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cuviper <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/finding.20modifications.20in.20between.20releases.html#219539769">(Dec 10 2020 at 22:00)</a>:</h4>
<p>those can be any refs -- branches, tags, commits</p>



<a name="219539853"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/finding%20modifications%20in%20between%20releases/near/219539853" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cuviper <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/finding.20modifications.20in.20between.20releases.html#219539853">(Dec 10 2020 at 22:00)</a>:</h4>
<p>you can also use two dots (<code>stable..beta</code>) to get a plain diff instead of PR-style comparison</p>



<a name="219540321"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/finding%20modifications%20in%20between%20releases/near/219540321" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/finding.20modifications.20in.20between.20releases.html#219540321">(Dec 10 2020 at 22:04)</a>:</h4>
<p><span class="user-mention silent" data-user-id="138448">cuviper</span> <a href="#narrow/stream/182449-t-compiler.2Fhelp/topic/finding.20modifications.20in.20between.20releases/near/219539677">said</a>:</p>
<blockquote>
<p>in GitHub, the comparison URL is <a href="https://github.com/rust-lang/rust/compare/stable...beta">https://github.com/rust-lang/rust/compare/stable...beta</a></p>
</blockquote>
<p>is there a way to do that for individual files (or directories)?</p>



<a name="219541825"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/finding%20modifications%20in%20between%20releases/near/219541825" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cuviper <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/finding.20modifications.20in.20between.20releases.html#219541825">(Dec 10 2020 at 22:16)</a>:</h4>
<p>I don't know a way</p>



<a name="219543396"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/finding%20modifications%20in%20between%20releases/near/219543396" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/finding.20modifications.20in.20between.20releases.html#219543396">(Dec 10 2020 at 22:31)</a>:</h4>
<p>ok, I'll probably keeping using git then - thanks though!</p>



<a name="219546671"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/finding%20modifications%20in%20between%20releases/near/219546671" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/finding.20modifications.20in.20between.20releases.html#219546671">(Dec 10 2020 at 23:06)</a>:</h4>
<p>You can do <a href="https://github.com/rust-lang/rust/commits/master/src/librustdoc/doctest.rs">https://github.com/rust-lang/rust/commits/master/src/librustdoc/doctest.rs</a>, but that's not quite what you want.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>